package com.puzzlebazar.client.puzzleinfo;

import java.io.Serializable;

public class PuzzleAndHistoryInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1793057069638750263L;
	
	private PuzzleInfo puzzleInfo;
	private HistoryInfo historyInfo;

	/**
	 * @param puzzleInfo Puzzle info structure to attach to this object
	 * @param historyInfo History info structure to attach to this object
	 */
	public PuzzleAndHistoryInfo() {
		this.puzzleInfo = null;
		this.historyInfo = null;
	}

	
	/**
	 * @param puzzleInfo Puzzle info structure to attach to this object
	 * @param historyInfo History info structure to attach to this object
	 */
	public PuzzleAndHistoryInfo(PuzzleInfo puzzleInfo, HistoryInfo historyInfo) {
		this.puzzleInfo = puzzleInfo;
		this.historyInfo = historyInfo;
	}

	/**
	 * @param puzzleInfo The puzzle info to attach to this object
	 */
	public void setPuzzleInfo(PuzzleInfo puzzleInfo) {
		this.puzzleInfo = puzzleInfo;
	}
	
	/**
	 * @return The puzzle info attached to this object
	 */
	public PuzzleInfo getPuzzleInfo() {
		return puzzleInfo;
	}
	
	/**
	 * @param historyInfo  The history info to attach to this object
	 */
	public void setHistoryInfo(HistoryInfo historyInfo) {
		this.historyInfo = historyInfo;
	}
	
	/**
	 * @return The history info attached to this object
	 */
	public HistoryInfo getHistoryInfo() {
		return historyInfo;
	}
	
	
	
}
